using System;
using System.Collections.Generic;

namespace ObjectMapper.Benchmark.DataModel
{
    public class SalesOrderHeader
    {
        public SalesOrderHeader()
        {
            RevisionNumber = 0;
            OrderDate = DateTime.Now;
            Status = 1;
            OnlineOrderFlag = true;
            SubTotal = 0.00m;
            TaxAmt = 0.00m;
            Freight = 0.00m;
            Rowguid = Guid.NewGuid();
            ModifiedDate = DateTime.Now;
        }

        public int SalesOrderId { get; set; }

        public byte RevisionNumber { get; set; }

        public DateTime OrderDate { get; set; }

        public DateTime DueDate { get; set; }

        public DateTime? ShipDate { get; set; }

        public byte Status { get; set; }

        public bool OnlineOrderFlag { get; set; }

        public string SalesOrderNumber { get; set; }

        public string PurchaseOrderNumber { get; set; }

        public string AccountNumber { get; set; }

        public int CustomerId { get; set; }

        public int? SalesPersonId { get; set; }

        public int? TerritoryId { get; set; }

        public int BillToAddressId { get; set; }

        public int ShipToAddressId { get; set; }

        public int ShipMethodId { get; set; }

        public int? CreditCardId { get; set; }

        public string CreditCardApprovalCode { get; set; }

        public int? CurrencyRateId { get; set; }

        public decimal SubTotal { get; set; }

        public decimal TaxAmt { get; set; }

        public decimal Freight { get; set; }

        public decimal TotalDue { get; set; }

        public string Comment { get; set; }

        public Guid Rowguid { get; set; }

        public DateTime ModifiedDate { get; set; }
    }
}